<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    
    <div class="form-group">
        <label for="c-app_type" class="control-label col-xs-12 col-sm-2">app类型:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
                {foreach name="typeList" item="vo"}
                <label for="row[app_type]-{$key}"><input id="row[app_type]-{$key}" name="row[app_type]" type="radio" value="{$key}" {in name="key" value="$row['app_type']"}checked{/in} /> {$vo}</label>
                {/foreach}
            </div>
        
        </div>
    </div>

    <div class="form-group">
        <label for="c-url" class="control-label col-xs-12 col-sm-2">{:__('Upload_file')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-url" data-rule="required" class="form-control" size="50" name="row[url]" type="text" value="{$row.url}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-url" class="btn btn-danger plupload" data-input-id="c-url" data-multiple="false"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-url" class="btn btn-primary fachoose" data-input-id="c-url" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-url"></span>
            </div>
            
        </div>
    </div>
    <div class="form-group">
        <label for="c-edition" class="control-label col-xs-12 col-sm-2">{:__('Edition')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-edition" data-rule="required" class="form-control" name="row[edition]" type="text" value="{$row.edition}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-force" class="control-label col-xs-12 col-sm-2">{:__('Force')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <select  id="c-force" class="form-control selectpicker" name="row[force]">
                {foreach name="forceList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.force"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label for="c-msg" class="control-label col-xs-12 col-sm-2">{:__('Msg')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-msg" class="form-control " rows="5" name="row[msg]" cols="50">{$row.msg}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
